//
//  BRScanModel.h
//  BrezzeSaaS
//
//  Created by IOS on 2021/11/12.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import "BRBaseModel.h"
#import "BRRuleModel.h"

NS_ASSUME_NONNULL_BEGIN
@class BRRentInfoModel;

@interface BRScanModel : BRBaseModel

/// 待租借信息
@property (nonatomic,strong) BRRentInfoModel *rentTobeInfo;

/// 计费规则
@property (nonatomic,strong) BRRuleModel *billing;
/// 0-机柜可用 1-充电宝电量过低 2-项目信息 3-其他租户信息
@property (nonatomic,assign) NSInteger code;
/// 当前最大电量
@property (nonatomic,assign) NSInteger maxBc;

/// 网点名称
@property (nonatomic,strong) NSString *branchName;
/// 网点预付款
@property (nonatomic,strong) NSDecimalNumber *depositAmount;
/// 已支付预付款
@property (nonatomic,strong) NSDecimalNumber *paidDepositAmount;
/// 网点罚金
@property (nonatomic,strong) NSDecimalNumber *penaltyAmount;
/// 预付款金额
@property (nonatomic,strong) NSDecimalNumber *preAuthAmount;

@end

@interface BRRentInfoModel : BRBaseModel

/// 电量：1-100
@property (nonatomic,assign) NSInteger bc;

/// 低电量标准，小于该值表示低电量
@property (nonatomic,assign) NSInteger lowPowerStandard;

/// 小机柜编号/大机柜编号(二维码编号)
@property (nonatomic,strong) NSString *cabinetNo;

@end

NS_ASSUME_NONNULL_END
